diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-01-21 01:17:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-01-21 01:17:17 +0000 |
commit | 55f39a199da4e6a12cfba5a01bb35ecf932e284a (patch) | |
tree | 6f56b125f587ce04a51fdf265b32d4e8a5469fc2 /demos/cms | |
parent | 49371e3acb5b1c9a1c50017a5d6fdf99728e7ddd (diff) | |
download | openssl-55f39a199da4e6a12cfba5a01bb35ecf932e284a.tar.gz |
fix comments
Diffstat (limited to 'demos/cms')
-rw-r--r-- | demos/cms/cms_enc.c | 2 | ||||
-rw-r--r-- | demos/cms/cms_ver.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/demos/cms/cms_enc.c b/demos/cms/cms_enc.c index 9032bed496..916b479d3c 100644 --- a/demos/cms/cms_enc.c +++ b/demos/cms/cms_enc.c @@ -12,7 +12,7 @@ int main(int argc, char **argv) int ret = 1; /* - * On OpenSSL 0.9.9 only: + * On OpenSSL 1.0.0 and later only: * for streaming set CMS_STREAM */ int flags = CMS_STREAM; diff --git a/demos/cms/cms_ver.c b/demos/cms/cms_ver.c index 4cb8c4ed78..bf1145ed8b 100644 --- a/demos/cms/cms_ver.c +++ b/demos/cms/cms_ver.c @@ -19,7 +19,7 @@ int main(int argc, char **argv) st = X509_STORE_new(); - /* Read in signer certificate and private key */ + /* Read in CA certificate */ tbio = BIO_new_file("cacert.pem", "r"); if (!tbio) @@ -33,14 +33,14 @@ int main(int argc, char **argv) if (!X509_STORE_add_cert(st, cacert)) goto err; - /* Open content being signed */ + /* Open message being verified */ in = BIO_new_file("smout.txt", "r"); if (!in) goto err; - /* Sign content */ + /* parse message */ cms = SMIME_read_CMS(in, &cont); if (!cms) |