~ubuntu-branches/ubuntu/hardy/openssl/hardy-security

« back to all changes in this revision

Viewing changes to crypto/ex_data.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213213742-7em5nrw5c7ceegyd
Tags: 0.9.8a-5
Stop ssh from crashing randomly on sparc (Closes: #335912)
Patch from upstream cvs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
 *
139
139
 */
140
140
 
141
 
#include <stdio.h>
142
 
#include <stdlib.h>
143
 
#include <openssl/buffer.h>
144
 
#include <openssl/bio.h>
 
141
#include "cryptlib.h"
145
142
#include <openssl/lhash.h>
146
 
#include "cryptlib.h"
147
143
 
148
144
/* What an "implementation of ex_data functionality" looks like */
149
145
struct st_CRYPTO_EX_DATA_IMPL
287
283
/* This callback is used in lh_doall to destroy all EX_CLASS_ITEM values from
288
284
 * "ex_data" prior to the ex_data hash table being itself destroyed. Doesn't do
289
285
 * any locking. */
290
 
static void def_cleanup_cb(const void *a_void)
 
286
static void def_cleanup_cb(void *a_void)
291
287
        {
292
288
        EX_CLASS_ITEM *item = (EX_CLASS_ITEM *)a_void;
293
289
        sk_CRYPTO_EX_DATA_FUNCS_pop_free(item->meth, def_cleanup_util_cb);