summaryrefslogtreecommitdiffstats
path: root/apps/enc.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-02-06 14:09:13 +0000
committerBen Laurie <ben@openssl.org>2001-02-06 14:09:13 +0000
commit259810e05bfcb465469a326cbfb939661a2fbcb9 (patch)
treed1d0e9f496dc18d640caad8eae5ef3c93190ef49 /apps/enc.c
parent171cc53a962533f284b8f1f4cf5d92f6bca3b3e0 (diff)
Rijdael CBC mode and partial undebugged SSL support.
Diffstat (limited to 'apps/enc.c')
-rw-r--r--apps/enc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/enc.c b/apps/enc.c
index 95aae9afb3..e53cf3b415 100644
--- a/apps/enc.c
+++ b/apps/enc.c
@@ -442,6 +442,9 @@ bad:
if (cipher != NULL)
{
+ /* Note that str is NULL if a key was passed on the command
+ * line, so we get no salt in that case. Is this a bug?
+ */
if (str != NULL)
{
/* Salt handling: if encrypting generate a salt and