Add a pointer to a paper (is the algorithm in section 4.2 the
[oweals/openssl.git] / crypto / bio / bf_null.c
index 8bbf3531461c48ac044610aee1ded4f9cb1a7253..3254a55dce7fcf213e822f24f3b2f752b5d92906 100644 (file)
 #include <stdio.h>
 #include <errno.h>
 #include "cryptlib.h"
-#include "bio.h"
-#include "evp.h"
+#include <openssl/bio.h>
+#include <openssl/evp.h>
 
 /* BIO_put and BIO_get both add to the digest,
  * BIO_gets returns the digest */
 
-#ifndef NOPROTO
 static int nullf_write(BIO *h,char *buf,int num);
 static int nullf_read(BIO *h,char *buf,int size);
 static int nullf_puts(BIO *h,char *str);
@@ -73,16 +72,6 @@ static int nullf_gets(BIO *h,char *str,int size);
 static long nullf_ctrl(BIO *h,int cmd,long arg1,char *arg2);
 static int nullf_new(BIO *h);
 static int nullf_free(BIO *data);
-#else
-static int nullf_write();
-static int nullf_read();
-static int nullf_puts();
-static int nullf_gets();
-static long nullf_ctrl();
-static int nullf_new();
-static int nullf_free();
-#endif
-
 static BIO_METHOD methods_nullf=
        {
        BIO_TYPE_NULL_FILTER,