author | Will Fiveash <will.fiveash@oracle.com> |
Fri, 24 Mar 2017 12:29:03 -0500 | |
changeset 7950 | 50d75ee82dad |
permissions | -rw-r--r-- |
7950
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
1 |
# |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
2 |
# This patch allows krb to be built to use the Solaris libucrypto crypto |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
3 |
# library to support the enctypes and other users of the krb crypto provider |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
4 |
# functions. |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
5 |
# |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
6 |
# This is Solaris specific behavior that MIT will not take upstream. |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
7 |
# |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
8 |
# Patch source: in-house |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
9 |
# |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
10 |
|
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
11 |
--- a/src/configure.in |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
12 |
+++ b/src/configure.in |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
13 |
@@ -250,6 +250,9 @@ nss) |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
14 |
])], [], [AC_MSG_ERROR([NSS version 3.13 or later required.])]) |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
15 |
CFLAGS=$save_CFLAGS |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
16 |
;; |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
17 |
+ucrypto) |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
18 |
+ CRYPTO_IMPL_LIBS="-lucrypto" |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
19 |
+ ;; |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
20 |
*) |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
21 |
AC_MSG_ERROR([Unknown crypto implementation $withval]) |
50d75ee82dad
25114734 Userland krb should use libucrypto
Will Fiveash <will.fiveash@oracle.com>
parents:
diff
changeset
|
22 |
;; |