Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssh/dist Make this build for platfor...
details: https://anonhg.NetBSD.org/src/rev/8d616907ac62
branches: trunk
changeset: 759217:8d616907ac62
user: he <he%NetBSD.org@localhost>
date: Thu Dec 02 10:23:51 2010 +0000
description:
Make this build for platforms which don't define HAVE_DLOPEN, notably
our sun2 port. Eliminates "defined but not used" warnings turned into
errors by our setup.
diffstat:
crypto/external/bsd/openssh/dist/ssh-pkcs11.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 53ed095d5eb2 -r 8d616907ac62 crypto/external/bsd/openssh/dist/ssh-pkcs11.c
--- a/crypto/external/bsd/openssh/dist/ssh-pkcs11.c Thu Dec 02 10:21:28 2010 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh-pkcs11.c Thu Dec 02 10:23:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssh-pkcs11.c,v 1.2 2010/11/21 18:59:04 adam Exp $ */
+/* $NetBSD: ssh-pkcs11.c,v 1.3 2010/12/02 10:23:51 he Exp $ */
/* $OpenBSD: ssh-pkcs11.c,v 1.6 2010/06/08 21:32:19 markus Exp $ */
/*
* Copyright (c) 2010 Markus Friedl. All rights reserved.
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "includes.h"
-__RCSID("$NetBSD: ssh-pkcs11.c,v 1.2 2010/11/21 18:59:04 adam Exp $");
+__RCSID("$NetBSD: ssh-pkcs11.c,v 1.3 2010/12/02 10:23:51 he Exp $");
#include <sys/types.h>
#include <sys/queue.h>
@@ -166,6 +166,7 @@
return (-1);
}
+#ifdef HAVE_DLOPEN
/* openssl callback for freeing an RSA key */
static int
pkcs11_rsa_finish(RSA *rsa)
@@ -466,7 +467,6 @@
return (0);
}
-#ifdef HAVE_DLOPEN
/* register a new provider, fails if provider already exists */
int
pkcs11_add_provider(char *provider_id, char *pin, Key ***keyp)
Home |
Main Index |
Thread Index |
Old Index