mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
More explicitly set crypto bits.
Partially submitted by: Jeff Kletsky <jeff@spotlife.com>
This commit is contained in:
parent
b6ea1aa58d
commit
d9be478b74
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67621
@ -290,8 +290,7 @@ distSetDeveloper(dialogMenuItem *self)
|
||||
distReset(NULL);
|
||||
Dists = _DIST_DEVELOPER;
|
||||
SrcDists = DIST_SRC_ALL;
|
||||
CRYPTODists |= (DIST_CRYPTO_SCRYPTO | DIST_CRYPTO_SSECURE |
|
||||
DIST_CRYPTO_SKERBEROS4 | DIST_CRYPTO_SKERBEROS5);
|
||||
CRYPTODists = DIST_CRYPTO_ALL;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
@ -316,6 +315,7 @@ distSetKernDeveloper(dialogMenuItem *self)
|
||||
distReset(NULL);
|
||||
Dists = _DIST_DEVELOPER;
|
||||
SrcDists = DIST_SRC_SYS;
|
||||
CRYPTODists |= DIST_CRYPTO_BIN;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
@ -339,6 +339,7 @@ distSetUser(dialogMenuItem *self)
|
||||
|
||||
distReset(NULL);
|
||||
Dists = _DIST_USER;
|
||||
CRYPTODists |= DIST_CRYPTO_BIN;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
|
@ -26,13 +26,6 @@
|
||||
#define DIST_LOCAL 0x20000
|
||||
#define DIST_ALL 0x3FFFF
|
||||
|
||||
/* Canned distribution sets */
|
||||
#define _DIST_USER \
|
||||
( DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_CRYPTO )
|
||||
|
||||
#define _DIST_DEVELOPER \
|
||||
( _DIST_USER | DIST_PROFLIBS | DIST_INFO | DIST_SRC )
|
||||
|
||||
/* Subtypes for CRYPTO distribution */
|
||||
#define DIST_CRYPTO_CRYPTO 0x0001
|
||||
#define DIST_CRYPTO_SCRYPTO 0x0002
|
||||
@ -124,4 +117,19 @@
|
||||
#define DIST_XF86_FONTS_ALL 0x003F
|
||||
#define DIST_XF86_ALL 0x1FFFF
|
||||
|
||||
/* Canned distribution sets */
|
||||
#define _DIST_USER \
|
||||
( DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_CRYPTO )
|
||||
|
||||
#define _DIST_DEVELOPER \
|
||||
( _DIST_USER | DIST_PROFLIBS | DIST_INFO | DIST_SRC )
|
||||
|
||||
#define DIST_CRYPTO_BIN \
|
||||
( DIST_CRYPTO_CRYPTO | DIST_CRYPTO_KERBEROS4 | DIST_CRYPTO_KERBEROS5 )
|
||||
|
||||
#endif /* _DIST_H_INCLUDE */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -290,8 +290,7 @@ distSetDeveloper(dialogMenuItem *self)
|
||||
distReset(NULL);
|
||||
Dists = _DIST_DEVELOPER;
|
||||
SrcDists = DIST_SRC_ALL;
|
||||
CRYPTODists |= (DIST_CRYPTO_SCRYPTO | DIST_CRYPTO_SSECURE |
|
||||
DIST_CRYPTO_SKERBEROS4 | DIST_CRYPTO_SKERBEROS5);
|
||||
CRYPTODists = DIST_CRYPTO_ALL;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
@ -316,6 +315,7 @@ distSetKernDeveloper(dialogMenuItem *self)
|
||||
distReset(NULL);
|
||||
Dists = _DIST_DEVELOPER;
|
||||
SrcDists = DIST_SRC_SYS;
|
||||
CRYPTODists |= DIST_CRYPTO_BIN;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
@ -339,6 +339,7 @@ distSetUser(dialogMenuItem *self)
|
||||
|
||||
distReset(NULL);
|
||||
Dists = _DIST_USER;
|
||||
CRYPTODists |= DIST_CRYPTO_BIN;
|
||||
i = distMaybeSetPorts(self);
|
||||
distVerifyFlags();
|
||||
return i;
|
||||
|
@ -26,13 +26,6 @@
|
||||
#define DIST_LOCAL 0x20000
|
||||
#define DIST_ALL 0x3FFFF
|
||||
|
||||
/* Canned distribution sets */
|
||||
#define _DIST_USER \
|
||||
( DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_CRYPTO )
|
||||
|
||||
#define _DIST_DEVELOPER \
|
||||
( _DIST_USER | DIST_PROFLIBS | DIST_INFO | DIST_SRC )
|
||||
|
||||
/* Subtypes for CRYPTO distribution */
|
||||
#define DIST_CRYPTO_CRYPTO 0x0001
|
||||
#define DIST_CRYPTO_SCRYPTO 0x0002
|
||||
@ -124,4 +117,19 @@
|
||||
#define DIST_XF86_FONTS_ALL 0x003F
|
||||
#define DIST_XF86_ALL 0x1FFFF
|
||||
|
||||
/* Canned distribution sets */
|
||||
#define _DIST_USER \
|
||||
( DIST_BIN | DIST_DOC | DIST_MANPAGES | DIST_DICT | DIST_CRYPTO )
|
||||
|
||||
#define _DIST_DEVELOPER \
|
||||
( _DIST_USER | DIST_PROFLIBS | DIST_INFO | DIST_SRC )
|
||||
|
||||
#define DIST_CRYPTO_BIN \
|
||||
( DIST_CRYPTO_CRYPTO | DIST_CRYPTO_KERBEROS4 | DIST_CRYPTO_KERBEROS5 )
|
||||
|
||||
#endif /* _DIST_H_INCLUDE */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user