Bug 1929 - ssh-keygen fails to build because PKCS11 is not available
Summary: ssh-keygen fails to build because PKCS11 is not available
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-keygen (show other bugs)
Version: 5.8p2
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_9
  Show dependency treegraph
 
Reported: 2011-09-03 03:23 AEST by Alan Hourihane
Modified: 2011-09-06 15:32 AEST (History)
1 user (show)

See Also:


Attachments
add null implementations of pkcs11_init and pkcs_terminate (1.01 KB, patch)
2011-09-04 19:30 AEST, Darren Tucker
djm: ok+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2011-09-03 03:23:05 AEST
Trying to build 5.8p2 and because the system I'm using lacks dlopen, PKCS11 isn't available and therefore fails with this....

ssh-keygen.c: In function 'do_ca_sign':
ssh-keygen.c:1410:2: warning: implicit declaration of function 'pkcs11_init'
ssh-keygen.c:1493:2: warning: implicit declaration of function 'pkcs11_terminate'
m68k-atari-mint-gcc -o ssh-keygen ssh-keygen.o -L. -Lopenbsd-compat/  -fstack-protector-all -lssh -lopenbsd-compat -lssl -lcrypto -lz   -lz  -lpthread
ssh-keygen.o:ssh-keygen.o:(.text+0x48b2): undefined reference to `_pkcs11_init'
ssh-keygen.o:ssh-keygen.o:(.text+0x4c62): undefined reference to `_pkcs11_terminate'
collect2: ld returned 1 exit status
make: *** [ssh-keygen] Error 1
emake failed
Comment 1 Darren Tucker 2011-09-04 19:30:30 AEST
Created attachment 2078 [details]
add null implementations of pkcs11_init and pkcs_terminate
Comment 2 Damien Miller 2011-09-04 19:58:52 AEST
Comment on attachment 2078 [details]
add null implementations of pkcs11_init and pkcs_terminate

ok for 5.9 and trunk
Comment 3 Darren Tucker 2011-09-04 20:01:35 AEST
submitted (from cvs log, it looks like 5.9 has not been branched/tagged yet)?
Comment 4 Damien Miller 2011-09-06 15:32:52 AEST
close resolved bugs now that openssh-5.9 has been released