~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to apps/engine.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-06-13 18:15:46 UTC
  • mto: (11.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090613181546-vbfntai3b009dl1u
Tags: upstream-0.9.8k
ImportĀ upstreamĀ versionĀ 0.9.8k

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 *
57
57
 */
58
58
 
59
 
#ifndef OPENSSL_NO_ENGINE
60
59
 
61
60
#include <stdio.h>
62
61
#include <stdlib.h>
66
65
#endif
67
66
#include "apps.h"
68
67
#include <openssl/err.h>
 
68
#ifndef OPENSSL_NO_ENGINE
69
69
#include <openssl/engine.h>
70
70
#include <openssl/ssl.h>
71
71
 
252
252
                        /* Now decide on the output */
253
253
                        if(xpos == 0)
254
254
                                /* Do an indent */
255
 
                                xpos = BIO_printf(bio_out, indent);
 
255
                                xpos = BIO_puts(bio_out, indent);
256
256
                        else
257
257
                                /* Otherwise prepend a ", " */
258
258
                                xpos += BIO_printf(bio_out, ", ");
263
263
                                        (xpos + (int)strlen(name) > line_wrap))
264
264
                                        {
265
265
                                        BIO_printf(bio_out, "\n");
266
 
                                        xpos = BIO_printf(bio_out, indent);
 
266
                                        xpos = BIO_puts(bio_out, indent);
267
267
                                        }
268
268
                                xpos += BIO_printf(bio_out, "%s", name);
269
269
                                }