jbeverly / pam_ssh_agent_auth

Moving pam_ssh_agent_auth to github as primary development location
Other
98 stars 27 forks source link

Fixed compilation with LibreSSL #33

Open abakay opened 3 years ago

abakay commented 3 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 below and let me know could it be merged?

__Originally posted by @abakay in https://github.com/jbeverly/pam_ssh_agent_auth/pull/27__

Thanks, Andriy