summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-02 02:10:59 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-02 02:10:59 +0000
commitefd666fde3d0a313e23078b4e2f58b6c8129ec8c (patch)
tree147069f5983ed93b0eb03207247d790cd8c32434 /sbin
parent92d508040824f7b8a57aaa72cd86d337b45f7c16 (diff)
Error messages.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/x509.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c
index 43c85cb3a31..e2c38e243a8 100644
--- a/sbin/isakmpd/x509.c
+++ b/sbin/isakmpd/x509.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.c,v 1.31 2000/11/30 06:36:37 angelos Exp $ */
+/* $OpenBSD: x509.c,v 1.32 2000/12/02 02:10:58 angelos Exp $ */
/* $EOM: x509.c,v 1.45 2000/11/23 12:51:21 niklas Exp $ */
/*
@@ -140,6 +140,7 @@ x509_generate_kn (X509 *cert)
if (!ikey)
{
LC (RSA_free, (key));
+ log_print ("x509_generate_kn: cannot get subject key");
return 0;
}
LC (RSA_free, (key));
@@ -155,6 +156,7 @@ x509_generate_kn (X509 *cert)
X509_LU_X509)
{
LC (X509_STORE_CTX_cleanup, (&csc));
+ log_print ("x509_generate_kn: no certificate found for issuer");
return 0;
}
}
@@ -194,6 +196,7 @@ x509_generate_kn (X509 *cert)
{
free (ikey);
LC (RSA_free, (key));
+ log_print ("x509_generate_kn: cannot get issuer key");
return 0;
}
LC (RSA_free, (key));