Fix BN_[pseudo_]rand: 'mask' must be used even if top=-1.
[oweals/openssl.git] / crypto / conf / ssleay.cnf
1 #
2 # This is a test configuration file for use in SSLeay etc...
3 #
4
5 init = 5
6 in\#it1 =10
7 init2='10'
8 init3='10\''
9 init4="10'"
10 init5='='10\'' again'
11
12 SSLeay::version = 0.5.0
13
14 [genrsa]
15 default_bits    = 512
16 SSLEAY::version = 0.5.0
17
18 [gendh]
19 default_bits    = 512
20 def_generator   = 2
21
22 [s_client]
23 cipher1         = DES_CBC_MD5:DES_CBC_SHA:DES_EDE_SHA:RC4_MD5\
24 cipher2         = 'DES_CBC_MD5 DES_CBC_SHA DES_EDE_SHA RC4_MD5'
25 cipher3         = "DES_CBC_MD5 DES_CBC_SHA DES_EDE_SHA RC4_MD5"
26 cipher4         = DES_CBC_MD5 DES_CBC_SHA DES_EDE_SHA RC4_MD5
27
28 [ default ]
29 cert_dir        = $ENV::HOME/.ca_certs
30
31 HOME            = /tmp/eay
32
33 tmp_cert_dir    = $HOME/.ca_certs
34 tmp2_cert_dir   = thisis$(HOME)stuff
35
36 LOGNAME = Eric Young (home=$HOME)
37
38 [ special ]
39
40 H=$HOME
41 H=$default::HOME
42 H=$ENV::HOME
43 #
44 # SSLeay example configuration file.
45 # This is mostly being used for generation of certificate requests.
46 #
47
48 RANDFILE                = $HOME/.rand
49
50 [ req ]
51 default_bits            = 512
52 default_keyfile         = privkey.pem
53
54 Attribute_type_1        = countryName
55 Attribute_text_1        = Country Name (2 letter code)
56 Attribute_default_1     = AU
57
58 Attribute_type_2        = stateOrProvinceName
59 Attribute_text_2        = State or Province Name (full name)
60 Attribute_default_2     = Queensland
61
62 Attribute_type_3        = localityName
63 Attribute_text_3        = Locality Name (eg, city)
64
65 Attribute_type_4        = organizationName
66 Attribute_text_4        = Organization Name (eg, company)
67 Attribute_default_4     = Mincom Pty Ltd
68
69 Attribute_type_5        = organizationalUnitName
70 Attribute_text_5        = Organizational Unit Name (eg, section)
71 Attribute_default_5     = TR
72
73 Attribute_type_6        = commonName
74 Attribute_text_6        = Common Name (eg, YOUR name)
75
76 Attribute_type_7        = emailAddress
77 Attribute_text_7        = Email Address
78