summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-10-05 01:38:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-10-05 01:38:58 +0000
commit97ebe047d0a10ad9ef475538d5e2e6a361dbb521 (patch)
tree8a54792b5b9343ea14e173cc5acd3bf7221706fb /util
parentfc6a6a10309704e10c4493d5ee5f834a3307ffa3 (diff)
Typo.
Diffstat (limited to 'util')
-rwxr-xr-xutil/libeay.num2
-rwxr-xr-xutil/mkdef.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/libeay.num b/util/libeay.num
index d73803d232..8b19e33b8e 100755
--- a/util/libeay.num
+++ b/util/libeay.num
@@ -3019,4 +3019,4 @@ ASN1_put_eoc 3451 EXIST::FUNCTION:
PKCS12_add_key 3452 EXIST::FUNCTION:
PKCS12_add_cert 3453 EXIST::FUNCTION:
ASN1_item_ndef_i2d 3454 EXIST::FUNCTION:
-d2i_PKCS7_NDEF 3455 EXIST::FUNCTION:
+i2d_PKCS7_NDEF 3455 EXIST::FUNCTION:
diff --git a/util/mkdef.pl b/util/mkdef.pl
index dc84816819..db08e29b74 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -711,7 +711,7 @@ sub do_defs
"FUNCTION");
next;
} elsif (/^\s*DECLARE_ASN1_NDEF_FUNCTION\s*\(\s*(\w*)\s*\)/) {
- $def .= "int d2i_$1_NDEF(void);";
+ $def .= "int i2d_$1_NDEF(void);";
} elsif (/^\s*DECLARE_ASN1_SET_OF\s*\(\s*(\w*)\s*\)/) {
next;
} elsif (/^\s*DECLARE_PKCS12_STACK_OF\s*\(\s*(\w*)\s*\)/) {