projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge in my S/MIME library and utility.
[oweals/openssl.git]
/
crypto
/
pkcs7
/
example.c
diff --git
a/crypto/pkcs7/example.c
b/crypto/pkcs7/example.c
index 244abf95b34dec1c14a7b346dcce569cd0e4b2dc..f6656be28e19b30de5bc0039cb0959003d216c73 100644
(file)
--- a/
crypto/pkcs7/example.c
+++ b/
crypto/pkcs7/example.c
@@
-1,5
+1,6
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <openssl/pkcs7.h>
#include <openssl/asn1_mac.h>
#include <openssl/pkcs7.h>
#include <openssl/asn1_mac.h>
@@
-68,7
+69,7
@@
int get_signed_string(PKCS7_SIGNER_INFO *si, char *buf, int len)
return(0);
}
return(0);
}
-static signed_seq2string_nid= -1;
+static
int
signed_seq2string_nid= -1;
/* ########################################### */
int add_signed_seq2string(PKCS7_SIGNER_INFO *si, char *str1, char *str2)
{
/* ########################################### */
int add_signed_seq2string(PKCS7_SIGNER_INFO *si, char *str1, char *str2)
{