When compiling, I've noticed a couple of warnings from gcc, one is
abuot a local variable not being used, the other about the default
type for a static variable being int.  The follownig patches fixes the
"problem" (my irritation, basically :-)):

Index: apps/gendh.c
===================================================================
RCS file: /src/SourceRepository/OpenSSL/apps/gendh.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 gendh.c
--- apps/gendh.c        1999/10/29 11:43:11     1.1.1.8
+++ apps/gendh.c        1999/11/09 01:00:47
@@ -77,7 +77,6 @@
 static void MS_CALLBACK dh_cb(int p, int n, void *arg);
 int MAIN(int argc, char **argv)
        {
-       char buffer[200];
        DH *dh=NULL;
        int ret=1,num=DEFBITS;
        int g=2;
Index: crypto/pkcs7/example.c
===================================================================
RCS file: /src/SourceRepository/OpenSSL/crypto/pkcs7/example.c,v
retrieving revision 1.2
diff -u -r1.2 example.c
--- crypto/pkcs7/example.c      1999/11/02 16:44:00     1.2
+++ crypto/pkcs7/example.c      1999/11/09 01:01:11
@@ -69,7 +69,7 @@
        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)
        {


-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to