~ubuntu-branches/ubuntu/utopic/openssl/utopic

« back to all changes in this revision

Viewing changes to crypto/rand/rand.h

  • Committer: Package Import Robot
  • Author(s): Kurt Roeckx
  • Date: 2012-03-19 18:23:32 UTC
  • mfrom: (1.2.6)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20120319182332-q4zgqvw51ahauk27
Tags: 1.0.1-1
* New upstream version
  - Remove kfreebsd-pipe.patch, fixed upstream
  - Update pic.patch, openssl-pod-misspell.patch and make-targets.patch
  - Add OPENSSL_1.0.1 to version-script.patch and libssl1.0.0.symbols for
    the new functions.
  - AES-NI support (Closes: #644743)
* pic.patch: upstream made OPENSSL_ia32cap_P and OPENSSL_cpuid_setup
  hidden on amd64, no need to access it PIC anymore.
* pic.patch: Make OPENSSL_ia32cap_P hidden on i386 too (Closes: #663977)
* Enable hardening using dpkg-buildflags (Closes: #653495)
* s_client and s_server were forcing SSLv3 only connection when SSLv2 was
  disabled instead of the SSLv2 with upgrade method.  (Closes: #664454)
* Add Beaks on openssh < 1:5.9p1-4, it has a too strict version check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
 
120
120
#endif
121
121
 
 
122
#ifdef OPENSSL_FIPS
 
123
void RAND_set_fips_drbg_type(int type, int flags);
 
124
int RAND_init_fips(void);
 
125
#endif
 
126
 
122
127
/* BEGIN ERROR CODES */
123
128
/* The following lines are auto generated by the script mkerr.pl. Any changes
124
129
 * made after this point may be overwritten when the script is next run.
129
134
 
130
135
/* Function codes. */
131
136
#define RAND_F_RAND_GET_RAND_METHOD                      101
 
137
#define RAND_F_RAND_INIT_FIPS                            102
132
138
#define RAND_F_SSLEAY_RAND_BYTES                         100
133
139
 
134
140
/* Reason codes. */
 
141
#define RAND_R_ERROR_INITIALISING_DRBG                   102
 
142
#define RAND_R_ERROR_INSTANTIATING_DRBG                  103
 
143
#define RAND_R_NO_FIPS_RANDOM_METHOD_SET                 101
135
144
#define RAND_R_PRNG_NOT_SEEDED                           100
136
145
 
137
146
#ifdef  __cplusplus