include -framework Security specific header files after #ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20922 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -32,11 +32,12 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "hx_locl.h"
 | 
					#include "hx_locl.h"
 | 
				
			||||||
#include <Security/Security.h>
 | 
					 | 
				
			||||||
RCSID("$Id$");
 | 
					RCSID("$Id$");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_FRAMEWORK_SECURITY
 | 
					#ifdef HAVE_FRAMEWORK_SECURITY
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <Security/Security.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
@@ -48,20 +49,20 @@ struct kc_rsa {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
kc_rsa_public_encrypt(int flen,
 | 
					kc_rsa_public_encrypt(int flen,
 | 
				
			||||||
		       const unsigned char *from,
 | 
							      const unsigned char *from,
 | 
				
			||||||
		       unsigned char *to,
 | 
							      unsigned char *to,
 | 
				
			||||||
		       RSA *rsa,
 | 
							      RSA *rsa,
 | 
				
			||||||
		       int padding)
 | 
							      int padding)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return -1;
 | 
					    return -1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
kc_rsa_public_decrypt(int flen,
 | 
					kc_rsa_public_decrypt(int flen,
 | 
				
			||||||
		       const unsigned char *from,
 | 
							      const unsigned char *from,
 | 
				
			||||||
		       unsigned char *to,
 | 
							      unsigned char *to,
 | 
				
			||||||
		       RSA *rsa,
 | 
							      RSA *rsa,
 | 
				
			||||||
		       int padding)
 | 
							      int padding)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return -1;
 | 
					    return -1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -69,17 +70,17 @@ kc_rsa_public_decrypt(int flen,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
kc_rsa_private_encrypt(int flen, 
 | 
					kc_rsa_private_encrypt(int flen, 
 | 
				
			||||||
			const unsigned char *from,
 | 
							       const unsigned char *from,
 | 
				
			||||||
			unsigned char *to,
 | 
							       unsigned char *to,
 | 
				
			||||||
			RSA *rsa,
 | 
							       RSA *rsa,
 | 
				
			||||||
			int padding)
 | 
							       int padding)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return -1;
 | 
					    return -1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
kc_rsa_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
 | 
					kc_rsa_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
 | 
				
			||||||
			RSA * rsa, int padding)
 | 
							       RSA * rsa, int padding)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    return -1;
 | 
					    return -1;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -181,7 +182,7 @@ keychain_init(hx509_context context,
 | 
				
			|||||||
				   "Failed to open %s", residue);
 | 
									   "Failed to open %s", residue);
 | 
				
			||||||
	    return ENOENT;
 | 
						    return ENOENT;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
   }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    *data = ctx;
 | 
					    *data = ctx;
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user