aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/p8_pkey.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-09-01 20:42:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-09-01 20:42:52 +0000
commit244847591f359be542d8d0fe995c349103cc7ac6 (patch)
tree778399f2bfa4ab8e206ae7c6085976a2bf0d40e1 /crypto/asn1/p8_pkey.c
parent5abe32d8611b26630305731f7dd4ea564264719e (diff)
downloadopenssl-244847591f359be542d8d0fe995c349103cc7ac6.tar.gz
Extend callback function to support print customization.
Diffstat (limited to 'crypto/asn1/p8_pkey.c')
-rw-r--r--crypto/asn1/p8_pkey.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/asn1/p8_pkey.c b/crypto/asn1/p8_pkey.c
index 24b409132f..31ec2a8121 100644
--- a/crypto/asn1/p8_pkey.c
+++ b/crypto/asn1/p8_pkey.c
@@ -3,7 +3,7 @@
* project 1999.
*/
/* ====================================================================
- * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -62,7 +62,8 @@
#include <openssl/x509.h>
/* Minor tweak to operation: zero private key data */
-static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it)
+static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
+ void *exarg)
{
/* Since the structure must still be valid use ASN1_OP_FREE_PRE */
if(operation == ASN1_OP_FREE_PRE) {