X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=crypt_common.c;h=a421641e6bac63786609b45e3076cb2f1242f731;hb=d16fe3df649cb48d5ffa26187da3dad4c3066646;hp=8fac0dc71ed37a7dff633a2891d4ada1a0c0376b;hpb=4990334538fe7f18964a6027b22d47c7640c3ec0;p=paraslash.git diff --git a/crypt_common.c b/crypt_common.c index 8fac0dc7..a421641e 100644 --- a/crypt_common.c +++ b/crypt_common.c @@ -7,7 +7,6 @@ /** \file crypt_common.c Crypto functions independent of openssl/libgcrypt. */ #include -#include #include "para.h" #include "error.h" @@ -86,7 +85,7 @@ int base64_decode(char const *src, unsigned char *target, size_t targsize) break; pos = strchr(Base64, ch); - if (pos == 0) /* A non-base64 character. */ + if (pos == NULL) /* A non-base64 character. */ return -E_BASE64; switch (state) {