jbeverly / pam_ssh_agent_auth

Moving pam_ssh_agent_auth to github as primary development location
Other
99 stars 29 forks source link

Fixed compilation with LibreSSL #27

Open abakay opened 4 years ago

abakay commented 4 years ago

Hi @jbeverly,

Recently I had problem with security/pam_ssh_agent_auth port on FreeBSD 12.1 with LibreSSL 3.1.4. The port itself compiled fine, but during runtime it gave the following error:

sudo: in try_dlopen(): /usr/local/lib/pam_ssh_agent_auth.so: (null): Undefined symbol "RSA_get0_e"

This is due LibreSSL doesn't have 'RSAget0*’ function(s). So, I did little correction, compile it on FreeBSD 12.1-RELEASE-p8 as port and it is working with LibreSSL 3.1.4.

Could you please review my changes and let me know could it be merged?

Thanks, Andriy