projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc/man3: reformat the function prototypes in the synopses
[openssl.git]
/
doc
/
man3
/
ECDSA_SIG_new.pod
diff --git
a/doc/man3/ECDSA_SIG_new.pod
b/doc/man3/ECDSA_SIG_new.pod
index 8d35c9e5f9e7da3e0882d40ecc10657eeacd0717..9d3cdceeab3a2247640a2ab35a02ba419aef72f3 100644
(file)
--- a/
doc/man3/ECDSA_SIG_new.pod
+++ b/
doc/man3/ECDSA_SIG_new.pod
@@
-139,6
+139,7
@@
specific)
int ret;
ECDSA_SIG *sig;
EC_KEY *eckey;
+
eckey = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
if (eckey == NULL)
/* error */
@@
-156,6
+157,7
@@
or using ECDSA_sign():
unsigned char *buffer, *pp;
int buf_len;
+
buf_len = ECDSA_size(eckey);
buffer = OPENSSL_malloc(buf_len);
pp = buffer;