]> git.saurik.com Git - apple/security.git/commitdiff
Security-54.1.5.tar.gz mac-os-x-1024 v54.1.5
authorApple <opensource@apple.com>
Wed, 5 Feb 2003 02:12:40 +0000 (02:12 +0000)
committerApple <opensource@apple.com>
Wed, 5 Feb 2003 02:12:40 +0000 (02:12 +0000)
AppleX509TP/AppleTPSession.h
AppleX509TP/tpCredRequest.cpp
CertTool/CertTool/CertTool.cpp
Security.pbproj/project.pbxproj

index af986f3d625e287eeda5572e3262f97781cec292..aabb7012bcc5ca48c948765d8705f5314f392254 100644 (file)
@@ -213,6 +213,7 @@ private:
 
        void SubmitCsrRequest(
                const CSSM_TP_REQUEST_SET &RequestInput,
+               const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
                sint32                                  &EstimatedTime, 
                CssmData                                &ReferenceIdentifier);
                
index 1aeaf4cd001821c093190f73d36b90544f505ac8..71b6e6f80c6f02aacdd0103f074ba6973fd59a1f 100644 (file)
@@ -424,6 +424,7 @@ CSSM_DATA_PTR AppleTPSession::getCertFromMap(
  */
 void AppleTPSession::SubmitCsrRequest(
        const CSSM_TP_REQUEST_SET &RequestInput,
+       const CSSM_TP_CALLERAUTH_CONTEXT *CallerAuthContext,
        sint32 &EstimatedTime,                                          // RETURNED
        CssmData &ReferenceIdentifier)                          // RETURNED
 {
@@ -484,7 +485,7 @@ void AppleTPSession::SubmitCsrRequest(
        CSSM_RETURN crtn;
        crtn = CSSM_CSP_CreateSignatureContext(certReq->cspHand,
                        certReq->signatureAlg,
-                       NULL,                           // AccessCred
+                       (CallerAuthContext ? CallerAuthContext->CallerCredentials : NULL),
                        certReq->issuerPrivateKey,
                        &sigHand);
        if(crtn) {
@@ -574,7 +575,7 @@ void AppleTPSession::SubmitCredRequest(
        if(tpCompareCssmData(&tpPolicy->PolicyIds->FieldOid,
                &CSSMOID_APPLE_TP_CSR_GEN)) {
                /* break out to CSR-specific code */
-               SubmitCsrRequest(RequestInput, EstimatedTime, ReferenceIdentifier);
+               SubmitCsrRequest(RequestInput, CallerAuthContext, EstimatedTime, ReferenceIdentifier);
                return;
        }
        else if(!tpCompareCssmData(&tpPolicy->PolicyIds->FieldOid,
index ac189b2897c8ade2c3f4395f843a6ae25b458ae7..a1bda8f76c23307cf9eb543964b1c103f67e108c 100644 (file)
@@ -90,7 +90,7 @@
 #define SEC_CERT_ADD_TO_KC                     1
 
 /* SecKeyCreatePair() implemented */
-#define SEC_KEY_CREATE_PAIR                    1
+#define SEC_KEY_CREATE_PAIR                    0
 
 #if    !SEC_KEY_CREATE_PAIR
 /* munge Label attr if manually generating keys */
index aba92d8987f725f891e784019ade112fcfa99d6d..3970d28cd3e7b43e4f78a410663befe7d08aa714 100644 (file)
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                FRAMEWORK_SEARCH_PATHS = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"";
                                HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/BSafe.framework/Headers\" \"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/BSafe.framework/Headers\" \"$(SRCROOT)/AppleCSP\" \"$(SRCROOT)/AppleCSP/open_ssl\"";
                                LIBRARY_STYLE = STATIC;
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                LIBRARY_STYLE = STATIC;
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "-DVDADER_RULES";
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                LIBRARY_STYLE = STATIC;
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "";
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                LIBRARY_STYLE = STATIC;
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "-DVDADER_RULES";
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                LIBRARY_STYLE = STATIC;
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "-DVDADER_RULES";
                                01FA8900FFF2BC5611CD283A,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                INSTALL_PATH = "$(SYSTEM_CORE_SERVICES_DIR)";
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                01FA890AFFF2BCA811CD283A,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                INSTALL_PATH = "$(SYSTEM_CORE_SERVICES_DIR)";
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                INSTALL_PATH = /usr/local/lib;
                                LIBRARY_STYLE = STATIC;
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                F5DDE3AE00B3358F01CD283A,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                FRAMEWORK_SEARCH_PATHS = "";
                                FRAMEWORK_VERSION = A;
                                HEADER_SEARCH_PATHS = "\"$(SRCROOT)\" \"$(BUILT_PRODUCTS_DIR)/derived_src\"";
        <key>CFBundlePackageType</key>
        <string>FMWK</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 54.1.3;
+                               DYLIB_CURRENT_VERSION = 54.1.5;
                                HEADER_SEARCH_PATHS = "\"$(BUILT_PRODUCTS_DIR)/include\"";
                                INSTALL_PATH = /usr/local/lib;
                                LIBRARY_STYLE = STATIC;
                                325EAA2800D6B08805CD296C,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "";
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";
                                3290382100D6BA5905CD296C,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "";
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";
                                3290382700D6BA5905CD296C,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "";
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";
                                3290382D00D6BA5905CD296C,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_CFLAGS = "";
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";
                                3290383300D6BA5905CD296C,
                        );
                        buildSettings = {
-                               CURRENT_PROJECT_VERSION = 54.1.3;
+                               CURRENT_PROJECT_VERSION = 54.1.5;
                                LIBRARY_SEARCH_PATHS = "";
                                OPTIMIZATION_CFLAGS = "-Os -DNDEBUG";
                                OTHER_LDFLAGS = "-bundle -undefined error";
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
-       <string>1.1.2</string>
+       <string>1.1.3</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>54.1.3</string>
+       <string>54.1.5</string>
 </dict>
 </plist>
 ";