Openssl - version 0.9.6g engine
OS - Solaris 2.8
Compiler - gcc 2.95.2
Machine - Sun Ultra 10.

The command 'openssl rand -out foobar 1024' fails.

An else seems to be missing in apps/rand.c.

Patching with the diff -ur rand.c rand.c_mod where rand.c_mod is the 
modified file corrects the issue.

===========
--- rand.c      2000-09-20 20:14:16.000000000 +0530
+++ rand.c_mod  2002-09-28 20:10:09.000000000 +0530
@@ -51,7 +51,7 @@
                        else
                                badopt = 1;
                        }
-               if (strcmp(argv[i], "-engine") == 0)
+               else if (strcmp(argv[i], "-engine") == 0)
                        {
                        if ((argv[i+1] != NULL) && (engine == NULL))
                                engine = argv[++i];
===========

-ramki

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to