x509.c (76866) | x509.c (100936) |
---|---|
1/* apps/x509.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 219 unchanged lines hidden (view full) --- 228 else if (strcmp(*argv,"-CAform") == 0) 229 { 230 if (--argc < 1) goto bad; 231 CAformat=str2fmt(*(++argv)); 232 } 233 else if (strcmp(*argv,"-CAkeyform") == 0) 234 { 235 if (--argc < 1) goto bad; | 1/* apps/x509.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 219 unchanged lines hidden (view full) --- 228 else if (strcmp(*argv,"-CAform") == 0) 229 { 230 if (--argc < 1) goto bad; 231 CAformat=str2fmt(*(++argv)); 232 } 233 else if (strcmp(*argv,"-CAkeyform") == 0) 234 { 235 if (--argc < 1) goto bad; |
236 CAformat=str2fmt(*(++argv)); | 236 CAkeyformat=str2fmt(*(++argv)); |
237 } 238 else if (strcmp(*argv,"-days") == 0) 239 { 240 if (--argc < 1) goto bad; 241 days=atoi(*(++argv)); 242 if (days == 0) 243 { 244 BIO_printf(STDout,"bad number of days\n"); --- 964 unchanged lines hidden --- | 237 } 238 else if (strcmp(*argv,"-days") == 0) 239 { 240 if (--argc < 1) goto bad; 241 days=atoi(*(++argv)); 242 if (days == 0) 243 { 244 BIO_printf(STDout,"bad number of days\n"); --- 964 unchanged lines hidden --- |