- (dtucker) [ssh-keygen.c ssh-pkcs11.c] Bug #1929: add null implementations
ofsh-pkcs11.cpkcs_init and pkcs_terminate for building without dlopen support.
This commit is contained in:
parent
6efd94f32e
commit
0dd24e02ec
|
@ -1,6 +1,8 @@
|
||||||
20110904
|
20110904
|
||||||
- (djm) [regress/connect-privsep.sh regress/test-exec.sh] demote fatal
|
- (djm) [regress/connect-privsep.sh regress/test-exec.sh] demote fatal
|
||||||
regress errors for the sandbox to warnings. ok tim dtucker
|
regress errors for the sandbox to warnings. ok tim dtucker
|
||||||
|
- (dtucker) [ssh-keygen.c ssh-pkcs11.c] Bug #1929: add null implementations
|
||||||
|
ofsh-pkcs11.cpkcs_init and pkcs_terminate for building without dlopen support.
|
||||||
|
|
||||||
20110829
|
20110829
|
||||||
- (djm) [openbsd-compat/port-linux.c] Suppress logging when attempting
|
- (djm) [openbsd-compat/port-linux.c] Suppress logging when attempting
|
||||||
|
|
|
@ -49,10 +49,7 @@
|
||||||
#include "hostfile.h"
|
#include "hostfile.h"
|
||||||
#include "dns.h"
|
#include "dns.h"
|
||||||
#include "ssh2.h"
|
#include "ssh2.h"
|
||||||
|
|
||||||
#ifdef ENABLE_PKCS11
|
|
||||||
#include "ssh-pkcs11.h"
|
#include "ssh-pkcs11.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Number of bits in the RSA/DSA key. This value can be set on the command line. */
|
/* Number of bits in the RSA/DSA key. This value can be set on the command line. */
|
||||||
#define DEFAULT_BITS 2048
|
#define DEFAULT_BITS 2048
|
||||||
|
|
14
ssh-pkcs11.c
14
ssh-pkcs11.c
|
@ -590,4 +590,18 @@ fail:
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
int
|
||||||
|
pkcs11_init(int interactive)
|
||||||
|
{
|
||||||
|
return (0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
pkcs11_terminate(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* ENABLE_PKCS11 */
|
#endif /* ENABLE_PKCS11 */
|
||||||
|
|
Loading…
Reference in New Issue