diff options
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/x509.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c index 4610a96ab7d..b8b09d85df2 100644 --- a/sbin/isakmpd/x509.c +++ b/sbin/isakmpd/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.41 2001/02/18 23:16:14 angelos Exp $ */ +/* $OpenBSD: x509.c,v 1.42 2001/02/23 15:29:55 angelos Exp $ */ /* $EOM: x509.c,v 1.54 2001/01/16 18:42:16 ho Exp $ */ /* @@ -214,7 +214,8 @@ x509_generate_kn (X509 *cert) } LC (RSA_free, (key)); - buf = calloc (strlen (fmt) + strlen (ikey) + strlen (skey), sizeof (char)); + buf = calloc (strlen (fmt) + strlen (ikey) + strlen (skey) + 56, + sizeof (char)); if (!buf) { log_error ("x509_generate_kn: " |