Typo corretced.
authorRichard Levitte <levitte@openssl.org>
Mon, 17 May 2004 04:47:26 +0000 (04:47 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 17 May 2004 04:47:26 +0000 (04:47 +0000)
apps/enc.c

index 77896bef331d062bde59e357ec4df3f5f7003763..cf1d98cd65362fc5f44d129c5151c3a64088e399 100644 (file)
@@ -305,7 +305,7 @@ bad:
         e = setup_engine(bio_err, engine, 0);
 #endif
 
-       if (md && dgst=EVP_get_digestbyname(md)) == NULL)
+       if (md && (dgst=EVP_get_digestbyname(md)) == NULL)
                {
                BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);
                goto end;