Complete rewrite of the error code generation script. It now runs as a single
[openssl.git] / crypto / rsa / rsa.h
index 9911579226a771d8ca53335fbb875858fad96319..25c0b8693f1c7425f5d5def3cf011e86f2926542 100644 (file)
 extern "C" {
 #endif
 
-#include "bn.h"
-#include "crypto.h"
+#include <openssl/bn.h>
+#include <openssl/crypto.h>
 
 typedef struct rsa_st RSA;
 
 typedef struct rsa_meth_st
        {
-       char *name;
+       const char *name;
 #ifndef NOPROTO
        int (*rsa_pub_enc)(int flen,unsigned char *from,unsigned char *to,
                           RSA *rsa,int padding);
@@ -305,6 +305,10 @@ char *RSA_get_ex_data();
 #endif
 
 /* BEGIN ERROR CODES */
+/* The following lines are auto generated by the script mkerr.pl. Any changes
+ * made after this point may be overwritten when the script is next run.
+ */
+
 /* Error codes for the RSA functions. */
 
 /* Function codes. */
@@ -355,7 +359,7 @@ char *RSA_get_ex_data();
 #define RSA_R_UNKNOWN_ALGORITHM_TYPE                    117
 #define RSA_R_UNKNOWN_PADDING_TYPE                      118
 #define RSA_R_WRONG_SIGNATURE_LENGTH                    119
+
 #ifdef  __cplusplus
 }
 #endif