diff options
author | Ben Laurie <ben@openssl.org> | 2001-08-18 16:02:52 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2001-08-18 16:02:52 +0000 |
commit | a8a004987c730aa433b18e3d1f91198eca18e324 (patch) | |
tree | 6c88dc444cd8de7400ef33ac334d6550a933d357 /crypto/evp/evp_test.c | |
parent | 0e36019977e78c34d6ea67b943fe17d4a01e769d (diff) |
Add AES tests.
Diffstat (limited to 'crypto/evp/evp_test.c')
-rw-r--r-- | crypto/evp/evp_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 811574b21b..efbe9fa3c9 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -206,7 +206,7 @@ int main(int argc,char **argv) for( ; ; ) { - char acLine[4096]; + char line[4096]; char *p; char *cipher; unsigned char *iv,*key,*plaintext,*ciphertext; @@ -214,11 +214,11 @@ int main(int argc,char **argv) int kn,in,pn,cn; ENGINE *e; - if(!fgets((char *)acLine,sizeof acLine,f)) + if(!fgets((char *)line,sizeof line,f)) break; - if(acLine[0] == '#') + if(line[0] == '#' || line[0] == '\n') continue; - p=acLine; + p=line; cipher=strsep(&p,":"); key=ustrsep(&p,":"); iv=ustrsep(&p,":"); |