~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/rand/rand_err.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* crypto/rand/rand_err.c */
2
2
/* ====================================================================
3
 
 * Copyright (c) 1999 The OpenSSL Project.  All rights reserved.
 
3
 * Copyright (c) 1999-2003 The OpenSSL Project.  All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
6
6
 * modification, are permitted provided that the following conditions
66
66
#ifndef OPENSSL_NO_ERR
67
67
static ERR_STRING_DATA RAND_str_functs[]=
68
68
        {
 
69
{ERR_PACK(0,RAND_F_FIPS_RAND_BYTES,0),  "FIPS_RAND_BYTES"},
69
70
{ERR_PACK(0,RAND_F_RAND_GET_RAND_METHOD,0),     "RAND_get_rand_method"},
70
71
{ERR_PACK(0,RAND_F_SSLEAY_RAND_BYTES,0),        "SSLEAY_RAND_BYTES"},
71
72
{0,NULL}
73
74
 
74
75
static ERR_STRING_DATA RAND_str_reasons[]=
75
76
        {
 
77
{RAND_R_NON_FIPS_METHOD                  ,"non fips method"},
 
78
{RAND_R_PRNG_ASKING_FOR_TOO_MUCH         ,"prng asking for too much"},
 
79
{RAND_R_PRNG_NOT_REKEYED                 ,"prng not rekeyed"},
 
80
{RAND_R_PRNG_NOT_RESEEDED                ,"prng not reseeded"},
76
81
{RAND_R_PRNG_NOT_SEEDED                  ,"PRNG not seeded"},
 
82
{RAND_R_PRNG_STUCK                       ,"prng stuck"},
77
83
{0,NULL}
78
84
        };
79
85