projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae184d
)
use sstrsep() to get the proper type to aoti().
author
Richard Levitte
<levitte@openssl.org>
Mon, 3 Jun 2002 15:27:52 +0000
(15:27 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 3 Jun 2002 15:27:52 +0000
(15:27 +0000)
Remove unneeded cast in ustrsep().
PR: 69
crypto/evp/evp_test.c
patch
|
blob
|
history
diff --git
a/crypto/evp/evp_test.c
b/crypto/evp/evp_test.c
index 1bfffb34cf3e86b498598da2f657c0584b90c3e1..90294ef686eec973b36a4f7a954eef4ce84aadfa 100644
(file)
--- a/
crypto/evp/evp_test.c
+++ b/
crypto/evp/evp_test.c
@@
-118,7
+118,7
@@
static char *sstrsep(char **string, const char *delim)
}
static unsigned char *ustrsep(char **p,const char *sep)
- { return (unsigned char *)sstrsep(
(char **)
p,sep); }
+ { return (unsigned char *)sstrsep(p,sep); }
static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,
const unsigned char *iv,int in,
@@
-358,7
+358,7
@@
int main(int argc,char **argv)
p[-1] = '\0';
encdec = -1;
} else {
- encdec = atoi(strsep(&p,"\n"));
+ encdec = atoi(s
s
trsep(&p,"\n"));
}