~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to javax/crypto/KeyGenerator.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
  {
161
161
    try
162
162
      {
163
 
        return new KeyGenerator((KeyGeneratorSpi)
 
163
        KeyGenerator instance = new KeyGenerator((KeyGeneratorSpi)
164
164
          Engine.getInstance(SERVICE, algorithm, provider),
165
165
          provider, algorithm);
 
166
        instance.init(new SecureRandom());
 
167
        return instance;
166
168
      }
167
169
    catch (InvocationTargetException ite)
168
170
      {