~ubuntu-branches/ubuntu/karmic/nss/karmic-updates

« back to all changes in this revision

Viewing changes to mozilla/security/nss/cmd/rsaperf/rsaperf.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack, Fabien Tassin, Alexander Sack
  • Date: 2009-01-11 15:06:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090111150617-iz4lw05qgy2odorl
Tags: 3.12.2~rc1-0ubuntu1
* New upstream snapshot: 3.12.2 RC1

[ Fabien Tassin <fta@ubuntu.com> ]
* Remove patch applied upstream:
  - drop debian/patches/80_security_tools.patch
  - update debian/patches/series
* Update diverged patches:
  - update debian/patches/38_kbsd.patch
  - update debian/patches/38_mips64_build.patch
* Add new symbols to symbols file
  - update debian/libnss3-1d.symbols

[ Alexander Sack <asac@ubuntu.com> ]
* disable soname patch to become binary compatible with upstream
  - update debian/patches/series
* flip links: libnss3.so <- libnss3.so.1d (before: libnss3.so ->
  libnss3.so.1d); same link flipping was done for all other previously
  soname patched libs: libnssutil3.so, libsmime3.so.1d, libssl3.so.1d
  - update debian/libnss3-1d.links
  - update debian/libnss3-1d.symbols
* properly transition links in preinst and postrm; also cover abort-
  cases in the other maintainer scripts
  - add debian/libnss3-1d.postinst
  - add debian/libnss3-1d.postrm
  - add debian/libnss3-1d.preinst
  - add debian/libnss3-1d.prerm
* remove hack from debian/rules that debian uses to recreate
  libsoftokn3.so with a versioned SONAME
  - update debian/rules
* install the unversioned .so binaries
  - update debian/rules
* only install the 4 main libraries into /usr/lib; all the others
  go to pkglibdir
  - update debian/rules
* higher bar for libnspr4 Build-Depend to >= 4.7.3~, which is
  the version where the soname droppage is going to happen
  - update debian/control
* explitily pass libraries to be used for dpkg-gensymbols run of
  dh_makeshlibs
  - update debian/rules
* fix lintian complain about no-shlibs-control-file
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
            "[-t threads]\n[-n none [-k keylength] [ [-g] -x exponent] |\n"
164
164
            " -n token:nickname [-d certdir] [-w password] |\n"
165
165
            " -h token [-d certdir] [-w password] [-g] [-k keylength] "
166
 
            "[-x exponent] ]\n",
 
166
            "[-x exponent] [-f pwfile]\n",
167
167
            progName);
168
168
    fprintf(stderr, "%-20s Cert database directory (default is ~/.netscape)\n",
169
169
            "-d certdir");
325
325
    char *                secDir        = NULL;
326
326
    char *                nickname      = NULL;
327
327
    char *                slotname      = NULL;
328
 
    char *                password      = NULL;
329
328
    long                  keybits     = 0;
330
329
    RSAOp                 fn;
331
330
    void *                rsaKey        = NULL;
365
364
        progName = strrchr(argv[0], '\\');
366
365
    progName = progName ? progName+1 : argv[0];
367
366
 
368
 
    optstate = PL_CreateOptState(argc, argv, "d:i:sen:p:t:h:k:w:gx:");
 
367
    optstate = PL_CreateOptState(argc, argv, "d:ef:gh:i:k:n:p:st:w:x:");
369
368
    while ((optstatus = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
370
369
        switch (optstate->option) {
371
370
        case '?':
408
407
            keybits = INT_ARG(optstate->value, DEFAULT_KEY_BITS);
409
408
            break;
410
409
        case 'w':
411
 
            password = PORT_Strdup(optstate->value);
412
 
            pwData.data = password;
 
410
            pwData.data = PORT_Strdup(optstate->value);;
413
411
            pwData.source = PW_PLAINTEXT;
414
412
            break;
 
413
        case 'f':
 
414
            pwData.data = PORT_Strdup(optstate->value);
 
415
            pwData.source = PW_FROMFILE;
 
416
            break;
415
417
        case 'x':
416
418
            /*  -x public exponent (for RSA keygen)  */
417
419
            publicExponent = INT_ARG(optstate->value, DEFAULT_EXPONENT);