Give everything prototypes (well, everything that's actually used).
[openssl.git] / crypto / rsa / rsa_none.c
index 6d43677a1539141ec049149393b5f9a1857e388b..e6f3e627ca1ab8b2cb51d5136ddff81b170994de 100644 (file)
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "bn.h"
-#include "rsa.h"
-#include "rand.h"
+#include <openssl/bn.h>
+#include <openssl/rsa.h>
+#include <openssl/rand.h>
 
-int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from,
-            int flen)
+int RSA_padding_add_none(unsigned char *to, int tlen,
+       const unsigned char *from, int flen)
        {
        if (flen > tlen)
                {
@@ -81,8 +81,8 @@ int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from,
        return(1);
        }
 
-int RSA_padding_check_none(unsigned char *to, int tlen, unsigned char *from,
-            int flen, int num)
+int RSA_padding_check_none(unsigned char *to, int tlen,
+       const unsigned char *from, int flen, int num)
        {
 
        if (flen > tlen)